using System;
namespace ch.ethz.ssh2.sftp
{
	
	/// <summary> 
	/// Permissions for the 'permissions' field in the SFTP ATTRS data type.
	/// <p>
	/// "<i>The 'permissions' field contains a bit mask specifying file permissions.
	/// These permissions correspond to the st_mode field of the stat structure
	/// defined by POSIX [IEEE.1003-1.1996].</i>"
	/// 
	/// </summary>
	/// <author>  Christian Plattner
	/// </author>
	/// <version>  2.50, 03/15/10
	/// 
	/// </version>
	public class AttribPermissions
	{
		/* Octal values! */
		
		public const int S_IRUSR = 256;
		public const int S_IWUSR = 128;
		public const int S_IXUSR = 64;
		public const int S_IRGRP = 32;
		public const int S_IWGRP = 16;
		public const int S_IXGRP = 8;
		public const int S_IROTH = 4;
		public const int S_IWOTH = 2;
		public const int S_IXOTH = 1;
		public const int S_ISUID = 2048;
		public const int S_ISGID = 1024;
		public const int S_ISVTX = 512;
	}
}